﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
namespace BUS
{
    public class BUSBangDiem
    {
        public static DataTable LayDSDiem()
        {
            return DAOBangDiem.LayDSDiem();
        }
        public static DTOBangDiem LayDiem(int mshs,string mamon,int malop)
        {
            return DAOBangDiem.LayDiem(mshs,mamon,malop);
        }
        public static DataTable LayDSDiem(string hk,string mamon,int malop)
        {
            return DAOBangDiem.LayDSDiem(hk,mamon,malop);
        }
        public static DataTable LayDSMon()
        {
            return DAOMonHoc.LayDSMonHoc();
        }
        public static DataTable LayDSMon(string hocky)
        {
            return DAOMonHoc.LayDSMonHoc(hocky);
        }
        public static DataTable LayDSLop()
        {
            return DAOBangDiem.LayDSLop();
        }
        public static DataTable LayDSHSCuaLop(string malop)
        {
            return DAOBangDiem.LayDSHSCuaLop(malop);
        }
        public static int ThemDiem(DTOBangDiem diem)
        {
            return DAOBangDiem.ThemDiem(diem);
        }
        public static int XoaDiem(int MBangDiem)
        {
            return DAOBangDiem.XoaDiem(MBangDiem);
        }
        public static int SuaDiem(DTOBangDiem diemsua)
        {
            return DAOBangDiem.SuaDiem(diemsua);
        }
    }
}
